<include file="Public:header" />
<section class="panel-default">
    <section class="">
        <div class="btn-group btn-group-justified" style="width: 100%;">
            <a href="{:U('ClientServer/orderBaseDetail?rid='.$rid.'&stateid='.$stateid)}" class="btn btn-info btn-lg">订单信息</a>
            <a href="{:U('ClientServer/productDetail?rid='.$rid.'&stateid='.$stateid)}" class="btn btn-default btn-lg">产品信息</a>
        </div>

        <section class=" panel-body">
            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">订单编号：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.order_number}</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>
            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">订单状态：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">
                        <if condition="$data.status eq 0">未审核<elseif condition="$data.status eq 1"/>生产中<elseif condition="$data.status eq 2"/>已完成<elseif condition="$data.status eq 3"/>待客服确认</if>
                    </p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>

            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">经销商：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.company_name}</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>
            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">客户姓名：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.username}</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>
            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">下单时间：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.order_time|date='Y-m-d H:i:s',###}</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>
            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">确定日期：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.confirmtime}</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>
            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">订单金额：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.order_price}元</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>

            <div class="form-group m-t">
                <label class="col-xs-4 control-label text-right">备注：</label>
                <div class="col-xs-8 no-padder">
                    <p class="form-control-static">{$data.remark}</p>
                </div>
                <div class="clearfix"></div>
                <div class="line line-dashed m-t-xs m-b-xs"></div>
            </div>
        </section>
    </section>
</section>
<include file="Public:footer" />
<script>
    var stateid='{$stateid}';
   if(stateid==100){
       $("#index").css('display','none');
       $("#foots").css('display','block');
   }


</script>

